package com.lkm.app_ui.m.Imple.order_0;

import com.lkm.app_ui.AppConst;
import com.lkm.app_ui.m.order_0.Order0Module;
import com.lkm.frame.module.ConditionConfige;
import com.lkm.frame.module.ModuleDelegate;
import com.lkm.frame.module.ModuleManager;
import com.lkm.market2_0.m.steelyarddata.SteelyardDataModule;



public class Order0ModuleDelegate implements ModuleDelegate<Order0Module, Void> {

    @Override
    public void init(ModuleManager moduleManager) {

    }

    @Override
    public void dependency(DependencyConfig dc) {
        dc.addDependency(SteelyardDataModule.class);

    }

    @Override
    public void configure(ConditionConfige<Void> cc) {

    }

    @Override
    public Order0Module execute(Void aVoid) {
        return new Order0ModuleImpl(AppConst.getModuleManager().loadModule(SteelyardDataModule.class));
    }

    @Override
    public Class<Order0Module> getModuleInterfaceClass() {
        return Order0Module.class;
    }

    @Override
    public void onError(ErrorWarp e) {

    }
}
